Class ImageGeneratorSDKException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vasco.image.exception.ImageGeneratorSDKException
All Implemented Interfaces:
Serializable

public class ImageGeneratorSDKException extends Exception
Main class for Image Generator SDK exception.
See Also:
  • Constructor Details

    • ImageGeneratorSDKException

      public ImageGeneratorSDKException(int errorCode, Throwable cause)
      Constructs an exception with this error code and its main cause
      Parameters:
      errorCode - The error code
      cause - The main cause of the exception
    • ImageGeneratorSDKException

      public ImageGeneratorSDKException(int errorCode)
      Constructor for setting exception with this error code
      Parameters:
      errorCode - The error code
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Gets the error code
      Returns:
      The error code
    • setErrorCode

      public void setErrorCode(int errorCode)
      Sets the error code
      Parameters:
      errorCode - The error code to set
    • getCause

      public Throwable getCause()
      Gets the cause of the exception
      Overrides:
      getCause in class Throwable
      Returns:
      The cause
    • setCause

      public void setCause(Throwable cause)
      Sets the cause of the exception
      Parameters:
      cause - The cause to set
    • getErrorMessage

      public String getErrorMessage()
      Gets the error message
      Returns:
      The error message